﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace VMDS.GUIClient.Views.Management.VMs
{
    /// <summary>
    /// Interaction logic for AddVmStep1.xaml
    /// </summary>
    public partial class AddVmStep2 : Page
    {
        public AddVmStep2()
        {
            InitializeComponent();
        }

       
        private void BrowseButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            OpenFileDialog d = new OpenFileDialog();
            d.Filter = "Изображения|*.jpg;*.bmp;*.png;*.gif";
            if (d.ShowDialog() == DialogResult.OK)
            {
                PathBox.Text = d.FileName;
            }
        }

        

        private void BrowseButton1_Click(object sender, System.Windows.RoutedEventArgs e)
        {
        	OpenFileDialog d = new OpenFileDialog();
            d.Filter = "Изображения|*.jpg;*.bmp;*.png;*.gif";
            if (d.ShowDialog() == DialogResult.OK)
            {
                LogoBox.Text = d.FileName;
            }
        }
    }
}
